package com.cwj.mansysback.entity;

public class Elective {

    private String cid;
    private String sid;
    private Double cscore;

    private Student stud;

    private Course course;

    public Elective() {
    }

    public Elective(String cid, String sid, double cscore) {
        this.cid = cid;
        this.sid = sid;
        this.cscore = cscore;
    }

    public Double getCscore() {
        return cscore;
    }

    public void setCscore(Double cscore) {
        this.cscore = cscore;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }



    public Student getStud() {
        return stud;
    }

    public void setStud(Student stud) {
        this.stud = stud;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    @Override
    public String toString() {
        return "Elective{" +
                "cid='" + cid + '\'' +
                ", sid='" + sid + '\'' +
                ", cscore=" + cscore +
                ", stud=" + stud +
                ", course=" + course +
                '}';
    }
}
